package change;

import domain.Employee;
import method.PaymentMethod;

public abstract class ChangeMethod extends ChangeEmployeeTransaction {
    public ChangeMethod(int empId) {
        super(empId);
    }

    @Override
    public void change(Employee employee) {
        employee.setMethod(getPaymentMethod());
    }

    public abstract PaymentMethod getPaymentMethod();
}
